package cn.edu.sgu.www.mhxysy.mapper.wenshi;

import cn.edu.sgu.www.mhxysy.entity.wenshi.WenshiViewAttribute;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 沐雨橙风ιε
 * @version 1.0
 */
@Repository
public interface WenshiViewAttributeMapper extends BaseMapper<WenshiViewAttribute> {

    /**
     * 通过纹饰类型ID查询纹饰预览属性
     * @param wenshiId 纹饰类型ID
     * @return List<WenshiViewAttribute>
     */
    List<WenshiViewAttribute> selectByWenshiId(@Param("wenshiId") Integer wenshiId);
}